package com.tongzhan.entity;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

@Data
@Document(collection = "LoginSign")
public class LoginSign extends BaseModel {
    @PrimaryKey
    @Field("OpenId")
    private String openId;//微信小程序的openid
    @Field("CreateTime")
    private LocalDateTime createTime;
}
